# -*- coding: utf-8 -*-
from Tkinter import *
import tkFileDialog
import tkMessageBox
import sys

from xTkinter import *

class VueClient(object):
    def __init__(self):
        self.fenetrePrincipale=Tk()
        self.fenetrePrincipale.geometry("450x400")
        self.fenetrePrincipale.config()
        self.fenetrePrincipale.title("PERP | Calcul Salaire")
        text1=xLabel(self.fenetrePrincipale,text="Employés")
        text1.setLocation(10,0)
##        self.combo=xCombobox(self.fenetrePrincipale,width=20)
##        self.combo.setLocation(10,40)
        text2=Label(self.fenetrePrincipale,text="Salaire").place(x=10,y=60 )
        self.fenetrePrincipale.entry = Entry(self.fenetrePrincipale,width=20,bg='#F7F2B2').place(x=10,y=80)
        text3=Label(self.fenetrePrincipale,text="Commission").place(x=150,y=60 )
        self.fenetrePrincipale.entry = Entry(self.fenetrePrincipale,width=20,bg='#F7F2B2').place(x=150,y=80)
        text3=Label(self.fenetrePrincipale,text="Salaire Total").place(x=300,y=60 )
        self.fenetrePrincipale.entry = Entry(self.fenetrePrincipale,width=20,bg='#F7F2B2').place(x=300,y=80)
        text4=Label(self.fenetrePrincipale,text="Impôt Fédéral").place(x=10,y=120 )
        self.fenetrePrincipale.entry = Entry(self.fenetrePrincipale,width=20,bg='#F7F2B2').place(x=120,y=120)
        text5=Label(self.fenetrePrincipale,text="Impôt Provincial").place(x=10,y=150 )
        self.fenetrePrincipale.entry = Entry(self.fenetrePrincipale,width=20,bg='#F7F2B2').place(x=120,y=150)
        text6=Label(self.fenetrePrincipale,text="RRQ").place(x=10,y=180 )
        self.fenetrePrincipale.entry = Entry(self.fenetrePrincipale,width=20,bg='#F7F2B2').place(x=120,y=180)
        text7=Label(self.fenetrePrincipale,text="RQAP").place(x=10,y=210 )
        self.fenetrePrincipale.entry = Entry(self.fenetrePrincipale,width=20,bg='#F7F2B2').place(x=120,y=210)
        text8=Label(self.fenetrePrincipale,text="Assurance Emploi").place(x=10,y=240 )
        self.fenetrePrincipale.entry = Entry(self.fenetrePrincipale,width=20,bg='#F7F2B2').place(x=120,y=240)
        self.Bouton=Button(self.fenetrePrincipale,text="Annuler",width=12).place(x=10,y=280)
        self.Bouton=Button(self.fenetrePrincipale,text="Ajouter",width=12).place(x=120,y=280)



if __name__ == '__main__':
    Client=VueClient()
    Client.fenetrePrincipale.mainloop()
